package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 行业黑名单，该行业不可以投放某些广告位
 * 
 * @author yujuan.zhang
 * @from 2016-06-07
 * @since V1.0
 *
 */
@Alias("industryBlackList")
public class IndustryBlackList extends PO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1557771486372735860L;

	/**
	 * 该行业不能投放的广告位， 对应ad_space.id
	 */
	private int adSpaceId;

	/**
	 * 行业标识，对应industry.id
	 */
	private long industryId;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 定向访问 0 排除 1 指定
	 */
	private int allowType;

	public int getAdSpaceId() {
		return adSpaceId;
	}

	public void setAdSpaceId(int adSpaceId) {
		this.adSpaceId = adSpaceId;
	}

	public long getIndustryId() {
		return industryId;
	}

	public void setIndustryId(long industryId) {
		this.industryId = industryId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getAllowType() {
		return allowType;
	}

	public void setAllowType(int allowType) {
		this.allowType = allowType;
	}

}
